package com.jckj.core.dao;

import com.jckj.core.entity.AgriProduct;
import com.jckj.core.entity.AgriProductExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AgriProductMapper {
    long countByExample(AgriProductExample example);

    int deleteByExample(AgriProductExample example);

    int deleteByPrimaryKey(String id);

    int insert(AgriProduct record);

    int insertSelective(AgriProduct record);

    List<AgriProduct> selectByExample(AgriProductExample example);

    AgriProduct selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") AgriProduct record, @Param("example") AgriProductExample example);

    int updateByExample(@Param("record") AgriProduct record, @Param("example") AgriProductExample example);

    int updateByPrimaryKeySelective(AgriProduct record);

    int updateByPrimaryKey(AgriProduct record);
}